package choices;

public class DayOfWeekInt {
	private int dayofweek;
	
	public DayOfWeekInt(){
		dayofweek = 0;
	}
	
	public DayOfWeekInt(int day){
		dayofweek = day;
	}
	
	public String toString(){
		switch (dayofweek) {
		case 0: return "Sunday";
		case 1: return "Monday";
		case 2: return "Tuesday";
		case 3: return "Wednesday";
		case 4: return "Thursday";
		case 5: return "Friday";
		case 6: return "Saturday";
		default: return "Invalid";
		}
	}
}
